package com.github.wisdom.common.github.modules.entity;

import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModelProperty;

/**
 * 对象
 * @author ccssoft
 * @email root@ccssoft.com.cn
 * @date 2018-04-12 14:54:15
 */
public class MeObjectView implements Serializable {
	private static final long serialVersionUID = 1L;
	@ApiModelProperty(value = "主键")
	private String id;
	@ApiModelProperty(value = "编码")
	private String code;
	@ApiModelProperty(value = "父对象code")
	private String parentCode;
	@ApiModelProperty(value = "名字")
	private String name;
	@ApiModelProperty(value = "属性列表")
	private List<ObjectAttr> attrs;
	@ApiModelProperty(value = "子对象")
	private List<MeObjectView> childObject;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getParentCode() {
		return parentCode;
	}

	public void setParentCode(String parentCode) {
		this.parentCode = parentCode;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<ObjectAttr> getAttrs() {
		return attrs;
	}

	public void setAttrs(List<ObjectAttr> attrs) {
		this.attrs = attrs;
	}

	public List<MeObjectView> getChildObject() {
		return childObject;
	}

	public void setChildObject(List<MeObjectView> childObject) {
		this.childObject = childObject;
	}

}
